package com.zlm.search.controller;

import com.zlm.search.service.SearchService;
import com.zlm.search.vo.SearchParam;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.annotation.Resource;

/**
 * @Author: 郑
 */
@Controller
public class SearchController {

    @Resource
    SearchService searchService;

    @GetMapping("/list.html")
    public String list(SearchParam searchParam){
        Object result = searchService.search(searchParam);

        return "list";
    }
}
